package day0807;
import java.util.SortedMap;
import java.util.TreeMap;
public class TreeMapTest {
    public static void main(String[] args) {
        SortedMap <String, Integer> params = new TreeMap <>();
        //TREEMAP对value进行排序

        params.put( "d",1);
        params.put("f", 2);
        params.put( "a",3);
        params.put("zhangsan",4);
        params.put("ergou",5);



        System.out.println(params);
    }
}
